<template>
	<ff-windows v-model="value" :isSingleDisplay="false">
		<template v-slot:default style="width: 100%;height: 100%;">
			<ff-window name="content" title="OxFFF UI 框架" :isHeadLeft="false">
				<template v-slot:default style="width: 100%;height: 100%;">
					首页
				</template>
			</ff-window>
			<my></my>
		</template>
		<template v-slot:bottom style="width: 100%;height: 100%;">
			<ff-tabbar v-model="value">
				<ff-tabbar-item name="content" :inactive="{type: 'icon', icon: 'home', text: '内容'}" 
					:active="{type: 'icon', icon: 'home', text: '内容'}"></ff-tabbar-item>
				<ff-tabbar-item name="my" :inactive="{type: 'icon', icon: 'my', text: '我的'}" 
					:active="{type: 'icon', icon: 'my', text: '我的'}"></ff-tabbar-item>
				<ff-tabbar-item type="callPhone" name="phone" :value="18571633036" :inactive="{'text': '联系'}"
					:active="{'text': '联系'}"></ff-tabbar-item>
				<ff-tabbar-item type="openWechatVideoNumberUserProfile" name="wechatVideoNumber"
					:value="{finderUserName: 'sphrP6xswEpS6UO', 
					feedId: 'export/UzFfAgtgekIEAQAAAAAAxF0nhtNV3QAAAAstQy6ubaLX4KHWvLEZgBPEioIwKXYyftiBzNPgMJo6nj4CLCcOUm-Y3kUjWDA0'}" 
					:inactive="{'text': '视频'}"
					:active="{'text': '视频'}"></ff-tabbar-item>
			</ff-tabbar>
		</template>
	</ff-windows>
</template>

<script>
	import my from '../my/my'
	export default {
		components: {
			my,
		},
		data() {
			return {
				value: null,
			}
		},
		mounted() {

		},
		methods: {
			onNav(page) {
				uni.navigateTo({
					url: page
				})
			},
		},
	}
</script>
<style>

</style>